<?php if(session('success111')): ?>
    <div class="am-g">
        <div class="am-u-md-12">
            <div class="am-alert am-alert-success">
                <?php echo e(session('success')); ?>

            </div>
        </div>
    </div>
    <?php endif; ?>

<?php if(session('error')): ?>
    <div class="am-g">
        <div class="am-u-md-12">
            <div class="am-alert am-alert-success">
                <?php echo e(session('error')); ?>

            </div>
        </div>
    </div>
<?php endif; ?>

<?php if(count($errors) > 0): ?>
    <div class="am-g">
        <div class="am-u-md-12">
            <div class="am-alert am-alert-danger">
            <ul>
                <?php foreach($errors->all() as $error): ?>
                    <li><?php echo e($error); ?></li>
                <?php endforeach; ?>

            </ul>
            </div>
        </div>
    </div>
<?php endif; ?>
